import { axios } from '@/utils/request1'

export function reserveList (parameter) {
  return axios({
    url: '/app/reserveList',
    method: 'get',
    params: parameter
  })
}

export function isReserve (parameter) {
  return axios({
    url: '/app/isReserve',
    method: 'post',
    data: parameter
  })
}

export function getReserve (parameter) {
  return axios({
    url: '/app/getReserve',
    method: 'get',
    params: parameter
  })
}

export function reserve (parameter) {
  return axios({
    url: '/app/reserve',
    method: 'post',
    data: parameter
  })
}
export function myReserve (parameter) {
  return axios({
    url: '/app/myReserve',
    method: 'get',
    params: parameter
  })
}